package com.qys.livesMall.app.user.mapper;

import com.qys.livesMall.app.user.model.dto.sys.SysHomeStatisticsDTO;
import com.qys.livesMall.app.user.model.entity.UserStatisticsYesterdayInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qys.livesMall.app.user.model.vo.sys.SysHomeStatisticsVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-08-12
 */
public interface UserStatisticsYesterdayInfoMapper extends BaseMapper<UserStatisticsYesterdayInfo> {

    UserStatisticsYesterdayInfo getYesterday(@Param("type") int type,@Param("userSysType")  int userSysType);

    SysHomeStatisticsVO getListbyDatatime(@Param("dto") SysHomeStatisticsDTO dto);

    UserStatisticsYesterdayInfo getToday(int type, int userSysType);
}
